<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>箭头函数</title>
</head>
<body>


    <div>
        ES6 中引入了箭头函数。 箭头函数允许我们编写更短的函数：
    </div>

</body>
<script>

    let  hello = function() {
        return "origin function define!";
    };
    console.log(hello());

    hello = () => {
        return "arrow function define!";
    };
    console.log(hello());


    hello = ( name ) => {
        return "parameter is  "  + name ;
    };
    console.log(hello( "12345"));



</script>
</html>
